package com.gqqx.weather.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "WeatherStation")
@TableName("weather_station")
public class WeatherStation implements Serializable  {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "气象站编号")
    @TableField("station")
    @TableId(type = IdType.INPUT)
    private Long station;

    @ApiModelProperty(value = "气象站名称")
    @TableField("name")
    private String name;
}
